﻿using Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IRealize
{
    public interface ICFSK
    {
        //II级机构设置查询
        public Task<List<Config_File_Second_Kind>> SelectCFSKAsync(string sqlserver);

        //II级机构设置添加
        public Task<int> AddCFSKAsync(Config_File_Second_Kind sk, string sqlserver);
        //根据主键查询修改信息
        public Task<Config_File_Second_Kind?> SelectCFSKIDAsync(int fsk_id, string sqlserver);
        //根据主键修改I级结构设置信息
        public Task<int> UpdateCFSKAsync(Config_File_Second_Kind fsk, string sqlserver, int id);
        //根据主键进行删除操作
        public Task<int> DeleteCFSKAsync(int fsk_id, string sqlserver);


        //II级机构设置查询
        public Task<List<Config_File_Second_Kind>> SelectCFSKLBAsync(string sqlserver, string firstKindName);



        //III结构设置的添加 根据ID 查询II级机构设置名称
        public Task<Config_File_Second_Kind?> SelectCFSKByIDAsync(string sqlserver, string secondKindId);



      
       

    }
}
